package com.ruoyi.house.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公寓管理对象 tb_apartment
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class TbApartment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公寓id */
    private Long apartmentId;

    /** 公寓名称 */
    @Excel(name = "公寓名称")
    private String apartmentName;

    /** 省id */
    @Excel(name = "省id")
    private Long provinceId;

    /** 市id */
    @Excel(name = "市id")
    private Long municipalityId;

    /** 区id */
    @Excel(name = "区id")
    private Long districtId;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailAddress;

    /** 剩余房间数 */
    @Excel(name = "剩余房间数")
    private Long numberOfRoomsRemaining;

    /** 全部房间数 */
    @Excel(name = "全部房间数")
    private Long numberOfAllRooms;

    public void setApartmentId(Long apartmentId)
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId()
    {
        return apartmentId;
    }
    public void setApartmentName(String apartmentName)
    {
        this.apartmentName = apartmentName;
    }

    public String getApartmentName()
    {
        return apartmentName;
    }
    public void setProvinceId(Long provinceId)
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId()
    {
        return provinceId;
    }
    public void setMunicipalityId(Long municipalityId)
    {
        this.municipalityId = municipalityId;
    }

    public Long getMunicipalityId()
    {
        return municipalityId;
    }
    public void setDistrictId(Long districtId)
    {
        this.districtId = districtId;
    }

    public Long getDistrictId()
    {
        return districtId;
    }
    public void setDetailAddress(String detailAddress)
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress()
    {
        return detailAddress;
    }
    public void setNumberOfRoomsRemaining(Long numberOfRoomsRemaining)
    {
        this.numberOfRoomsRemaining = numberOfRoomsRemaining;
    }

    public Long getNumberOfRoomsRemaining()
    {
        return numberOfRoomsRemaining;
    }
    public void setNumberOfAllRooms(Long numberOfAllRooms)
    {
        this.numberOfAllRooms = numberOfAllRooms;
    }

    public Long getNumberOfAllRooms()
    {
        return numberOfAllRooms;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("apartmentId", getApartmentId())
                .append("apartmentName", getApartmentName())
                .append("provinceId", getProvinceId())
                .append("municipalityId", getMunicipalityId())
                .append("districtId", getDistrictId())
                .append("detailAddress", getDetailAddress())
                .append("numberOfRoomsRemaining", getNumberOfRoomsRemaining())
                .append("numberOfAllRooms", getNumberOfAllRooms())
                .toString();
    }
}